local thbattle__lingxian_kuangqi = fk.CreateSkill {

  name = "thbattle__lingxian_kuangqi",

  tags = {  },

}



thbattle__lingxian_kuangqi:addEffect(fk.Damage, {
  prompt = "#thbattle__lingxian_kuangqi",
  anim_type = "control",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(thbattle__lingxian_kuangqi.name) and data.card and
        (data.card.trueName == "slash" or data.card.trueName == "duel") and data.to and data.to ~= player 
        and data.to:getMark("@@thbattle__lingxian_sangxin")==0  and data.to:isAlive()
  end,
  on_use = function(self, event, target, player, data)
    player.room:handleAddLoseSkills(data.to, "thbattle__lingxian_sangxin", nil, true, false)
    THB_Utility.addStatusMark(data.to, "@@thbattle__lingxian_sangxin",1,player.room)
  end,
})

return thbattle__lingxian_kuangqi